package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmChannelDto;
import com.heima.model.wemedia.dtos.WmChannelPageReqDto;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmChannelService extends IService<WmChannel> {
    ResponseResult findList(WmChannelPageReqDto dto);


    //新增文章频道
    ResponseResult saveChannel(WmChannel wmChannel);


    //修改频道
    ResponseResult updateChannel(WmChannelDto dto);


    //删除
    ResponseResult del(Integer id);
}
